$(document).ready(function(){
	$.superbox.settings = {
			boxId: "superbox",
			boxClasses: "",
			overlayOpacity: .2, 
			boxWidth: "900",
			boxHeight: "500",
			loadTxt: "Loading...",
			closeTxt: "Close",
			prevTxt: "Previous",
			nextTxt: "Next"
		};
	
	$(function(){
		$.superbox();
	});
	
	$("#tree").treeview({
		animated: "fast",
		collapsed: true,
		unique: true,
//		persist: "cookie",
//		toggle: function() {
//			window.console && console.log("%o was toggled", this);
//		}
	});
	
	$('#submit').click(function(){
		$('#form').submit();
	});

});